//
//  UIButton+TouchEvent.m
//  03_UIResponder
//
//  Created by dllo on 16/7/18.
//  Copyright © 2016年 YMJ. All rights reserved.
//

#import "UIButton+TouchEvent.h"

@implementation UIButton (TouchEvent)
- (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event {
    
//    [super touchesBegan:touches withEvent:event];
    // button 的点击效果,通过UIResponder实现,不写super=不继承,会导致,重写该方法
    NSLog(@"\n%s------%@",__FUNCTION__,NSStringFromClass([self class]));
}
@end
